From: Carlos Garnacho Date: Wed, 11 Jul 2018 16:46:49 +0000 (+0200) Subject: keyboard: Remove stale references to global.screen X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~929^2~5^2~16 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e3ebc8d0c6de7aa2d73e5aad9878a1c8dc17cb5f;p=gnome-shell.git keyboard: Remove stale references to global.screen (Re)introduced by the previous patch. --- diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index 900372072..41942eeaa 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -492,8 +492,8 @@ var FocusTracker = new Lang.Class({ this._currentWindow = null; this._currentWindowPositionId = 0; - global.screen.get_display().connect('notify::focus-window', () => { - this._setCurrentWindow(global.screen.get_display().focus_window); + global.display.connect('notify::focus-window', () => { + this._setCurrentWindow(global.display.focus_window); this.emit('window-changed', this._currentWindow); });